package com.demo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Description:
 *
 * @author shenguangyang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value="demo用户对象", description="存放用户数据")
public class UserSaveReqDTO {
    @ApiModelProperty(value = "编号")
    private String id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "年龄")
    private Integer age;
}
